package com.aplink.generic.constant.type;

public enum TabhostDisplay {
    Icon("icon"),
    Title("title"),
    TitleAndIcon("title|icon");

    public static TabhostDisplay get(final String value) {
        for (final TabhostDisplay tabhostDisplay : TabhostDisplay.values()) {
            if (tabhostDisplay.mValue.equalsIgnoreCase(value)) {
                return tabhostDisplay;
            }
        }
        return null;
    }

    private String mValue;

    private TabhostDisplay(final String value) {
        setValue(value);
    }

    public String getValue() {
        return this.mValue;
    }

    public void setValue(final String value) {
        this.mValue = value;
    }

}
